# What's nice about ActiveRecord?
# - DRY
#   Event.belongs_to :user
# - Object instances map to records, make DSL sense
#   Node.path, etc...

# What sucks about it (from a programmatic point of view)
# - Model classes are heavy - complex implementation
# - The DSL is nice for working with single records, but makes
#   less sense when working with multiple records.
# - Table-wide operations must be defined using def self.xxx (to me that looks ugly)


# The current Model implementation takes its inspiration from ActiveRecord,
# but a lot of the stuff that makes Sequel unique - such as chainability -
# gets a bit lost because it is indirect, leading to a lot of stub methods
# like Model#all, Model#map, etc...

# So how about this:

class Item < Sequel::Model
end

Items = DB[:items].extend do
  
end